package StudyCode.summary.Basic.myint;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class HexToNumber {
	public static void main(String[] args) {
		String strHexNumber = "20";
		int decimalNumber = Integer.parseInt(strHexNumber, 16);
		System.out.println("十六进制数" + strHexNumber + " 转为十进制是:" + decimalNumber);
	}
}
